<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2025/4/8
  Time: 11:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>购物车</title>
</head>
<body>
<h1>选择你要添加的书籍</h1>
<form action="shoppingCar" method="post">
    <table>
        <tr>
            <th>选择</th>
            <th>书籍名称</th>
            <th>价格</th>
        </tr>
        <tr>
            <td><input type="checkbox" name="bookId" value="1"></td>
            <td>java疯狂讲义</td>
            <td>109.00</td>
        </tr>
        <tr>
            <td><input type="checkbox" name="bookId" value="2"></td>
            <td>python基础讲解</td>
            <td>64.00</td>
        </tr>
        <tr>
            <td><input type="checkbox" name="bookId" value="3"></td>
            <td>web大前端实战</td>
            <td>79.00</td>
        </tr>
    </table>
    <input type="submit" value="加入购物车">
</form>
</body>
</html>
